package cn.kai.ums.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.kai.ums.model.UmsTeacher;
import cn.kai.ums.service.UmsTeacherService;
import cn.kai.ums.mapper.UmsTeacherMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class UmsTeacherServiceImpl extends ServiceImpl<UmsTeacherMapper, UmsTeacher>
    implements UmsTeacherService{

    @Autowired
    private UmsTeacherMapper umsTeacherMapper;

    @Override
    public UmsTeacher getOneTea(String teacherNo) {
        return umsTeacherMapper.getOneTea(teacherNo);
    }

    @Override
    public List<String> getAllTno() {
        return umsTeacherMapper.getAllTno();
    }
}




